// 用来定义全局指令的模块
export const imgerr = {
  inserted (el, opt) {
    el.onerror = () => {
      el.src = opt.value
    }
  }
}
